<%@page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>


<script type="text/javascript">
	var form_url = $.webapp.root+"/admin/system/vote/doNotNeedAuth_voteSendMail.do" ;
	var attach = u1 ;
	var simple = [[
	       		'fontset', '|', 'forecolor', 'backcolor',
	       		'justifyleft', 'justifycenter', 'justifyright', 'justifyjustify','|', 
	       		'emotion', 'scrawl', '|', 'snapscreen', 'insertimage', 'attachment', '|', 'source', 'preview', 'fullscreen'
	       	]];
	
	$(function() {
		u1 = new UE.ui.Editor({ toolbars : simple });
		u1.render('u1');
	});
	
	//提交表单数据
	var submitNow = function($d, $tg, flag) {
		var o = $("#form").form("getData") ;
		$.post(form_url, o, function(result) {
			if (result.status) {
				alertify.success(result.msg);$.easyui.loaded();
				if(flag==undefined||flag==false){$d.dialog("close") ;}
			} else {
				$.easyui.loaded();$.messager.alert("错误", result.msg, "error");
			}
		}, 'json').error(function() { $.easyui.loaded(); });
	};
	
	//验证表单
	var submitForm = function($d, $tg, flag) { 
		if($('#form').form('validate')) {
			$.easyui.loading({ msg: "邮件发送中，请稍等..." });
			submitNow($d, $tg, flag) ;
		}
	};
	
	
</script>
<style>
.euploadify-wrapper-single .euploadify-progressbar{margin:0px;}
.euploadify-wrapper-single .euploadify-buttonbar {margin:0px;}
</style>
<form id="form" class="easyui-form form_container">
	<input type="hidden" name="id" value="${vote.id}" />
	<table class="tableform">
		<tr>
			<th>标题：</th>
			<td><input name="subject" style="width:618px;" class="easyui-validatebox" type="text" value="公司热点调查通知（）" /></td>
		</tr>
		<tr>
			<td colspan="2">
				<textarea id="u1" name="ctx" style="width:703px;height:300px;">
<p style="color: rgb(0, 0, 0); font-family: 微软雅黑, Tahoma; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">
    您好！
</p>
<p style="color: rgb(0, 0, 0); font-family: 微软雅黑, Tahoma; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;系统发布了以下公司热点调查，请登录系统参与投票。
</p>
<p style="color: rgb(0, 0, 0); font-family: 微软雅黑, Tahoma; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">
    &nbsp; &nbsp; &nbsp; &nbsp; 热点主题：
</p>
<p style="color: rgb(0, 0, 0); font-family: 微软雅黑, Tahoma; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">
    &nbsp; &nbsp; &nbsp; &nbsp; 1# &nbsp;你是否已使用HTML5技术？
</p>
<p style="color: rgb(0, 0, 0); font-family: 微软雅黑, Tahoma; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">
    &nbsp; &nbsp; &nbsp; &nbsp; 2#&nbsp; ...<br/>
</p>
<p style="color: rgb(0, 0, 0); font-family: 微软雅黑, Tahoma; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">
    &nbsp; &nbsp; &nbsp; &nbsp; 3#&nbsp; <br/>
</p>
<p style="color: rgb(0, 0, 0); font-family: 微软雅黑, Tahoma; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">
    &nbsp; &nbsp; &nbsp; &nbsp; 4#&nbsp; <br/>
</p>
<p style="color: rgb(0, 0, 0); font-family: 微软雅黑, Tahoma; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">
    &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
</p>
<p style="color: rgb(0, 0, 0); font-family: 微软雅黑, Tahoma; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">
    项目管理系统
</p>
<p style="color: rgb(0, 0, 0); font-family: 微软雅黑, Tahoma; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">
    2015-&nbsp; -&nbsp; <br/>
</p>
<p>
    
				
				
</p>
				
				</textarea>
			</td>
		</tr>
	</table>
</form>
